import { mock } from "mockjs";
const env = import.meta.env.MODE || "prod"

const EnvConfig = {
    development:{
        baseApi: "/api",
        mockApi:"https://apifoxmock.com/m1/xxx/api",
    },
    test:{
        baseApi: "//test.future.com/api",
        mockApi:"https://apifoxmock.com/m1/xxx/api",
    },
    prod:{
        baseApi: "//prod.future.com/api",
        mockApi:"https://apifoxmock.com/m1/xxx/api",
    }
}

export default {
    env,
    ...EnvConfig[env],
    //mock
    mock:false,
}